package beans;

import java.io.Serializable;
import java.util.Date;

/**
 * Table T_Clients
 *
 * @author Loïc Jacolin-Lescot
 */
public class CliClients implements Serializable {

    private int cliId;
    private String cliNom;
    private String cliPrenom;
    private String cliLogin;
    private String cliMdp;
    private Date cliDateNaissance;
    private boolean cliNewsletter;
    private String cliSexe;
    private boolean cliActif;
    private String cliMdpInit;

    public CliClients() {
    }

    public int getCliId() {
        return cliId;
    }

    public void setCliId(int cliId) {
        this.cliId = cliId;
    }

    public String getCliNom() {
        return cliNom;
    }

    public void setCliNom(String cliNom) {
        this.cliNom = cliNom;
    }

    public String getCliPrenom() {
        return cliPrenom;
    }

    public void setCliPrenom(String cliPrenom) {
        this.cliPrenom = cliPrenom;
    }

    public String getCliLogin() {
        return cliLogin;
    }

    public void setCliLogin(String cliLogin) {
        this.cliLogin = cliLogin;
    }

    public String getCliMdp() {
        return cliMdp;
    }

    public void setCliMdp(String cliMdp) {
        this.cliMdp = cliMdp;
    }

    public Date getCliDateNaissance() {
        return cliDateNaissance;
    }

    public void setCliDateNaissance(Date cliDateNaissance) {
        this.cliDateNaissance = cliDateNaissance;
    }

    public boolean isCliNewsletter() {
        return cliNewsletter;
    }

    public void setCliNewsletter(boolean cliNewsletter) {
        this.cliNewsletter = cliNewsletter;
    }

    public Boolean getCliNewsletter() {
        return cliNewsletter;
    }

    public String getCliSexe() {
        return cliSexe;
    }

    public void setCliSexe(String cliSexe) {
        this.cliSexe = cliSexe;
    }

    public boolean isCliActif() {
        return cliActif;
    }

    public void setCliActif(boolean cliActif) {
        this.cliActif = cliActif;
    }

    public String getCliMdpInit() {
        return cliMdpInit;
    }

    public void setCliMdpInit(String cliMdpInit) {
        this.cliMdpInit = cliMdpInit;
    }

    @Override
    public String toString() {
        return "Client : " + cliId + ", " + cliNom + ", " + cliPrenom + ", " + cliLogin;
    }
}
